import View from '@/components/view'

export let routes = [
    {
        path: '/consumeManage',
        component: View,
        name: 'consumeManage',
        redirect: '/consumeManage/configManag',
        id: '/consumeManage',
        meta: {
            title: '消费管理',
            icon: 'icon-syslog'
        },
        children: [
            {
                path: 'configManag',
                component: () => import('#/views/consumeManage/configManag/index.vue'),
                name: 'configManag',
                id: '/configManage',
                meta: { 
                    title: '额度配置',
                },
            },
            {
                path: 'billSheet',
                component: () => import('#/views/consumeManage/billSheet/index.vue'),
                name: 'billSheet',
                id: '/billSheet',
                meta: { 
                    title: '系统账单(内)',
                },
            },
            {
                path: 'billSheetOut',
                component: () => import('#/views/consumeManage/billSheetOut/index.vue'),
                name: 'billSheetOut',
                id: '/billSheetOut',
                meta: { 
                    title: '系统账单(外)',
                },
            }
        ]
    },
]

export default routes;
